﻿<h1>@ViewBag.Title</h1>

@If Not String.IsNullOrEmpty(ViewBag.CreateUrl) Then
@<div class="btn-toolbar">
    @Html.ActionLink("Создать", "create", Nothing, New With {.class = "btn"})
</div>
End If

@Html.Partial("_Table", Model)

@Html.Pagination(ViewBag.PageIndex, ViewBag.PageCount, New With {.class = "pagination"})
